package com.woniuxy.credit_loans.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName emp
 */
@Data
public class Emp implements Serializable {
    private Integer empId;

    private String empName;

    private String empSex;

    private Integer empAge;

    private String empAdd;

    private String empHeadimg;

    private String empPhone;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date empBirthday;

    private String empAcc;

    private String empPassword;

    private Integer deptId;

    private Integer roleId;

    private Integer empType;

    private String empBy1;

    private String empBy2;

    private static final long serialVersionUID = 1L;
}